home *** CD-ROM | disk | FTP | other *** search
/ Halting the Hacker - A P…uide to Computer Security / Halting the Hacker - A Practical Guide to Computer Security.iso / rfc / rfc995.txt < prev    next >
Text File  |  1997-04-01  |  92KB  |  2,421 lines

  1.  
  2.  
  3.  
  4.  
  5. Network Working Group                                   ANSI X3S3.3 86-118
  6. Request for Comments: 995                              ISO TC97/SC6/N 4053
  7.                                                                 April 1986
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                  I S O
  14.              INTERNATIONAL ORGANIZATION FOR STANDARDIZATION
  15.               ORGANISATION INTERNATIONALE DE NORMALISATION
  16.  
  17.      ______________________________________________________________________
  18.     |                                                                     |
  19.     |                            ISO/TC 97/SC 6                           |
  20.     |                TELECOMMUNICATIONS AND INFORMATION                   |
  21.     |                     EXCHANGE BETWEEN SYSTEMS                        |
  22.     |                       Secretariat: USA (ANSI)                       |
  23.     |                                                                     |
  24.     |                                                                     |
  25.     |_____________________________________________________________________|
  26.  
  27.  
  28.  
  29.  
  30.  
  31.   Title:    End System to Intermediate System Routing Exchange Protocol
  32.             for use in conjunction with ISO 8473
  33.  
  34.   Source:   SC6/WG2
  35.             Project 97.6.41
  36.  
  37.  
  38.  
  39.  
  40.   ___________________________________________________________________________
  41.  |This document is a progression of SC6/N3862, edited to incorporate member |
  42.  |body comments and discussion at the Florence meeting of SC6/WG2. Pursuant |
  43.  |to Recommendation 5 of that meeting, comments from member bodies on this  |
  44.  |revision text are requested for discussion at the Tokyo meeting of SC6    |
  45.  |and WGs.                                                                  |
  46.  |__________________________________________________________________________|
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59. ISO N4053                                                       [Page 1]
  60.  
  61. RFC 995                                                    December 1986
  62.  
  63.  
  64. Contents
  65.  
  66. 1   Introduction                                                           5
  67.  
  68. 2   Scope and Field of Application                                         6
  69.  
  70. 3   References                                                             7
  71.  
  72.  
  73. SECTION ONE. GENERAL                                                       9
  74.  
  75. 4   Definitions                                                            9
  76.     4.1   Reference Model Definitions  . . . . . . . . . . . . . . . . .   9
  77.     4.2   Network Layer Architecture Definitions   . . . . . . . . . . .   9
  78.     4.3   Network Layer Addressing Definitions   . . . . . . . . . . . .   9
  79.     4.4   Local Area Network Definitions   . . . . . . . . . . . . . . .  10
  80.     4.5   Additional Definitions . . . . . . . . . . . . . . . . . . . .  10
  81.  
  82. 5   Symbols and Abbreviations                                             10
  83.     5.1   Data Units   . . . . . . . . . . . . . . . . . . . . . . . . .  10
  84.     5.2   Protocol Data Units  . . . . . . . . . . . . . . . . . . . . .  10
  85.     5.3   Protocol Data Unit Fields  . . . . . . . . . . . . . . . . . .  10
  86.     5.4   Parameters . . . . . . . . . . . . . . . . . . . . . . . . . .  11
  87.     5.5   Miscellaneous  . . . . . . . . . . . . . . . . . . . . . . . .  11
  88.  
  89. 6   Overview of the Protocol                                              11
  90.     6.1   Information Provided by the Protocol . . . . . . . . . . . . .  11
  91.     6.2   Subsets of the Protocol. . . . . . . . . . . . . . . . . . . .  12
  92.     6.3   Addressing   . . . . . . . . . . . . . . . . . . . . . . . . .  12
  93.     6.4   Underlying Service Assumed by the Protocol   . . . . . . . . .  12
  94.           6.4.1   Subnetwork Addresses . . . . . . . . . . . . . . . . .  12
  95.           6.4.2   Subnetwork User Data . . . . . . . . . . . . . . . . .  13
  96.     6.5   Service Assumed from Local Environment . . . . . . . . . . . .  13
  97.     6.6   Subnetwork Types . . . . . . . . . . . . . . . . . . . . . . .  14
  98.           6.6.1   Point-to-Point Subnetworks . . . . . . . . . . . . . .  15
  99.           6.6.2   Broadcast Subnetworks  . . . . . . . . . . . . . . . .  15
  100.           6.6.3   General Topology Subnetworks . . . . . . . . . . . . .  16
  101.  
  102.  
  103. SECTION TWO. SPECIFICATION OF THE PROTOCOL                                18
  104.  
  105. 7   Protocol Functions                                                    18
  106.     7.1   Protocol Timers  . . . . . . . . . . . . . . . . . . . . . . .  18
  107.           7.1.1   Configuration Timer  . . . . . . . . . . . . . . . . .  18
  108.           7.1.2   Holding Timer  . . . . . . . . . . . . . . . . . . . .  18
  109.     7.2   Report Configuration Function  . . . . . . . . . . . . . . . .  18
  110.           7.2.1   Report Configuration by End Systems  . . . . . . . . .  19
  111.           7.2.2   Report Configuration by Intermediate Systems . . . . .  19
  112.     7.3   Record Configuration Function  . . . . . . . . . . . . . . . .  20
  113.     7.4   Flush Old Configuration Function   . . . . . . . . . . . . . .  20
  114.     7.5   Query Configuration Function . . . . . . . . . . . . . . . . .  20
  115.  
  116.  
  117.  
  118. ISO N4053                                                       [Page 2]
  119.  
  120. RFC 995                                                    December 1986
  121.  
  122.  
  123.     7.6   Configuration Response Function  . . . . . . . . . . . . . . .  21
  124.     7.7   Request Redirect Function. . . . . . . . . . . . . . . . . . .  22
  125.     7.8   Record Redirect Function . . . . . . . . . . . . . . . . . . .  23
  126.     7.9   Refresh Redirect Function  . . . . . . . . . . . . . . . . . .  23
  127.     7.10  Flush Old Redirect Function  . . . . . . . . . . . . . . . . .  24
  128.     7.11  PDU Header Error Detection   . . . . . . . . . . . . . . . . .  24
  129.     7.12  Classification of Functions  . . . . . . . . . . . . . . . . .  25
  130.  
  131. 8   Structure and Encoding of PDUs                                        25
  132.     8.1   Structure  . . . . . . . . . . . . . . . . . . . . . . . . . .  26
  133.     8.2   Fixed Part . . . . . . . . . . . . . . . . . . . . . . . . . .  26
  134.           8.2.1   General  . . . . . . . . . . . . . . . . . . . . . . .  26
  135.           8.2.2   Network Layer Protocol Identifier  . . . . . . . . . .  27
  136.           8.2.3   Length Indicator . . . . . . . . . . . . . . . . . . .  27
  137.           8.2.4   Version/Protocol Identifier Extension  . . . . . . . .  27
  138.           8.2.5   Type Code  . . . . . . . . . . . . . . . . . . . . . .  28
  139.           8.2.6   Holding Time . . . . . . . . . . . . . . . . . . . . .  28
  140.           8.2.7   PDU Checksum . . . . . . . . . . . . . . . . . . . . .  28
  141.     8.3   Network Address Part . . . . . . . . . . . . . . . . . . . . .  28
  142.           8.3.1   General  . . . . . . . . . . . . . . . . . . . . . . .  28
  143.           8.3.2   NPAI (Network Protocol Address Information) En-
  144.                   coding . . . . . . . . . . . . . . . . . . . . . . . .  28
  145.           8.3.3   Source Address Parameter for ESH PDU   . . . . . . . .  29
  146.           8.3.4   Network Entity Title Parameter for ISH PDU . . . . . .  29
  147.           8.3.5   Destination Address Parameter for RD PDU . . . . . . .  30
  148.     8.4   Subnetwork Address Part  . . . . . . . . . . . . . . . . . . .  30
  149.           8.4.1   Subnetwork Address Parameter for RD PDU  . . . . . . .  31
  150.     8.5   Options Part . . . . . . . . . . . . . . . . . . . . . . . . .  31
  151.           8.5.1   General  . . . . . . . . . . . . . . . . . . . . . . .  31
  152.           8.5.2   Security . . . . . . . . . . . . . . . . . . . . . . .  32
  153.           8.5.3   Quality of Service Maintenance . . . . . . . . . . . .  33
  154.           8.5.4   Priority . . . . . . . . . . . . . . . . . . . . . . .  33
  155.     8.6   End System Hello (ESH) PDU . . . . . . . . . . . . . . . . . .  34
  156.           8.6.1   Structure  . . . . . . . . . . . . . . . . . . . . . .  34
  157.     8.7   Intermediate System Hello (ISH) PDU  . . . . . . . . . . . . .  35
  158.           8.7.1   Structure  . . . . . . . . . . . . . . . . . . . . . .  35
  159.     8.8   Redirect (RD) PDU. . . . . . . . . . . . . . . . . . . . . . .  36
  160.           8.8.1   Structure  . . . . . . . . . . . . . . . . . . . . . .  36
  161.  
  162. 9   Formal Description                                                    37
  163.  
  164. 10  Conformance                                                           37
  165.  
  166. ANNEX A. SUPPORTING TECHNICAL MATERIAL                                    38
  167.     A.1   Use of Timers  . . . . . . . . . . . . . . . . . . . . . . . .  38
  168.           A.1.1   Example of Holding Time for Route Redirection  . . . .  38
  169.           A.1.2   Example of Holding Timer for Configuration Informa-
  170.                   tion . . . . . . . . . . . . . . . . . . . . . . . . .  39
  171.     A.2   Refresh and timeout of Redirection information . . . . . . . .  39
  172.     A.3   System Initialization Considerations . . . . . . . . . . . . .  40
  173.     A.4   Optimizations for Flushing Redirects   . . . . . . . . . . . .  41
  174.  
  175.  
  176.  
  177. ISO N4053                                                       [Page 3]
  178.  
  179. RFC 995                                                    December 1986
  180.  
  181.  
  182. List of Tables
  183.  
  184.     1     Service Primitives for Underlying Service  . . . . . . . . . .  12
  185.     2     Timer Primitives . . . . . . . . . . . . . . . . . . . . . . .  14
  186.     3     Categories of Protocol Functions . . . . . . . . . . . . . . .  25
  187.     4     Valid PDU Types  . . . . . . . . . . . . . . . . . . . . . . .  28
  188.  
  189.  
  190. List of Figures
  191.  
  192.     1     PDU Header -- Fixed Part . . . . . . . . . . . . . . . . . . .  27
  193.     2      Address Parameters  . . . . . . . . . . . . . . . . . . . . .  29
  194.     3     ESH PDU - Network Address Part   . . . . . . . . . . . . . . .  29
  195.     4     ISH PDU - Network Address Part . . . . . . . . . . . . . . . .  30
  196.     5     RD PDU - Network Address Part  . . . . . . . . . . . . . . . .  30
  197.     6     ESH PDU - Address Part   . . . . . . . . . . . . . . . . . . .  31
  198.     7     All PDUs - Options Part  . . . . . . . . . . . . . . . . . . .  31
  199.     8     Encoding of Option Parameters  . . . . . . . . . . . . . . . .  32
  200.     9     ESH PDU Format . . . . . . . . . . . . . . . . . . . . . . . .  34
  201.     10    ISH PDU Format . . . . . . . . . . . . . . . . . . . . . . . .  35
  202.     11    RD PDU Format when Redirect is to an IS  . . . . . . . . . . .  36
  203.     12    RD PDU Format when Redirect is to an ES  . . . . . . . . . . .  37
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236. ISO N4053                                                       [Page 4]
  237.  
  238. RFC 995                                                    December 1986
  239.  
  240.  
  241. 1     Introduction
  242.  
  243.    This Protocol is one of a set of International Standards produced to
  244.    facilitate the interconnection of open systems. The set of standards
  245.    covers the services and protocols required to achieve such intercon-
  246.    nection.
  247.  
  248.    This Protocol is positioned with respect to other related standards
  249.    by the layers defined in the Reference Model for Open System Inter-
  250.    connection (ISO 7498) and by the structure defined in the Internal
  251.    Organization of the Network Layer (DIS 8648).  In particular, it is a
  252.    protocol of the Network Layer.  This protocol permits End Systems and
  253.    Intermediate Systems to exchange configuration and routing informa-
  254.    tion to facilitate the operation of the routing and relaying func-
  255.    tions of the Network Layer.
  256.  
  257.    The aspects of Network Layer routing that are concerned with communi-
  258.    cation between end systems and intermediate systems on the same sub-
  259.    network are to a great extent separable from the aspects that are
  260.    concerned with communication among the intermediate systems that con-
  261.    nect multiple subnetworks. This protocol addresses only the former
  262.    aspects. It will be significantly enhanced by the cooperative opera-
  263.    tion of an additional protocol that provides for the exchange of
  264.    routing information among intermediate systems, but is useful whether
  265.    or not such an additional protocol is available.
  266.  
  267.       This protocol provides solutions for the following practical problems:
  268.  
  269.       1.  How do end systems discover the existence and reachability of
  270.           intermediate systems that can route NPDUs to destinations on
  271.           subnetworks other than the one(s) to which the end system is
  272.           directly connected?
  273.  
  274.       2.  How do end systems discover the existence and reachability of
  275.           other end systems on the same subnetwork (when direct
  276.           examination of the destination NSAP address does not provide
  277.           information about the destination subnetwork)?
  278.  
  279.       3.  How do intermediate systems discover the existence and
  280.           reachability of end systems on each of the subnetworks to
  281.           which they are directly connected?
  282.  
  283.       4.  How do end systems decide which intermediate system to use
  284.           to forward NPDUs to a particular destination when more than one
  285.           intermediate system is accessible?
  286.  
  287.       The protocol assumes that:
  288.  
  289.       1.  Routing to a specified subnetwork point of attachment address
  290.           (SNPA) on the same subnetwork is carried out satisfactorily by
  291.           the subnetwork itself.
  292.  
  293.  
  294.  
  295. ISO N4053                                                       [Page 5]
  296.  
  297. RFC 995                                                    December 1986
  298.  
  299.  
  300.       2.  The subnetwork is not, however, capable of routing on a global
  301.           basis using the NSAP address alone to achieve communication
  302.           with a requested destination.
  303.  
  304.                                       Note:
  305.           Consequently, it is not possible to use Application Layer
  306.           communication to carry out the functions of this protocol.
  307.  
  308.       The protocol is connectionless, and is designed to:
  309.  
  310.       1.  minimize the amount of a priori state information needed by
  311.           end systems before they can begin to communicate with other
  312.           end systems;
  313.  
  314.       2.  minimize the amount of memory needed to store routing
  315.           information in end systems; and
  316.  
  317.       3.  minimize the computational complexity of end system routing
  318.           algorithms.
  319.  
  320.  
  321.    The protocol is also designed to operate in close conjunction with
  322.    the Protocol for the Provision of the Connectionless-mode Network
  323.    Service (ISO 8473).  Since routing styles are usually closely related
  324.    to communication styles, the information that this protocol provides
  325.    to end systems and intermediate systems may or may not be appropriate
  326.    information for supporting routing functions when a Network Layer
  327.    protocol other than ISO 8473 is used.
  328.  
  329. 2     Scope and Field of Application
  330.  
  331.    This International Standard specifies a protocol which is used by
  332.    Network Layer entities operating ISO 8473 in End Systems and Inter-
  333.    mediate Systems (referred to herein as ES and IS respectively) to
  334.    maintain routing information.  The Protocol herein described relies
  335.    upon the provision of a connectionless-mode underlying service.
  336.  
  337.      This Standard specifies:
  338.  
  339.      a)  procedures for the transmission of configuration and routing
  340.          information between network entities residing in End Systems
  341.          and network entities residing in Intermediate Systems;
  342.  
  343.      b)  the encoding of the protocol data units used for the transmission
  344.          of the configuration and routing information;
  345.  
  346.      c)  procedures for the correct interpretation of protocol control
  347.          information; and
  348.  
  349.      d)  the functional requirements for implementations claiming
  350.          conformance to this Standard.
  351.  
  352.  
  353.  
  354. ISO N4053                                                       [Page 6]
  355.  
  356. RFC 995                                                    December 1986
  357.  
  358.  
  359.      The procedures are defined in terms of:
  360.  
  361.      a)  the interactions between End System and Intermediate System
  362.          network entities through the exchange of protocol data units;
  363.          and
  364.  
  365.      b)  the interactions between a network entity and an underlying
  366.          service provider through the exchange of subnetwork service
  367.          primitives.
  368.  
  369.    This protocol does not specify any protocol elements or algorithms for
  370.    facilitating routing and relaying among Intermediate Systems. Such
  371.    functions are intentionally beyond the scope of this protocol.
  372.  
  373. 3     References
  374.  
  375.  
  376.    ISO 7498        Information Processing Systems --- Open Systems Intercon-
  377.                    nection - Basic Reference Model
  378.  
  379.    DIS 7498/DAD1   Information Processing Systems --- Open Systems Intercon-
  380.                    nection - Addendum to ISO 7498 Covering Connectionless-
  381.                    mode Transmission
  382.  
  383.    ISO 8348        Information Processing Systems --- Telecommunications and
  384.                    Information Exchange between Systems - Network Service
  385.                    Definition
  386.  
  387.    ISO 8348/AD1    Information Processing Systems --- Telecommunications and
  388.                    Information Exchange between Systems - Addendum to the
  389.                    Network Service Definition Covering Connectionless-mode
  390.                    Transmission
  391.  
  392.  
  393.    ISO 8348/AD2    Information Processing Systems --- Telecommunications and
  394.                    Information Exchange between Systems - Addendum to the
  395.                    Network Service Definition Covering Network Layer Address-
  396.                    ing
  397.  
  398.  
  399.    ISO 8473        Information Processing Systems --- Telecommunications and
  400.                    Information Exchange between Systems - Protocol for Pro-
  401.                    viding the Connectionless Network Service
  402.  
  403.  
  404.    DIS 8648        Information Processing Systems --- Telecommunications and
  405.                    Information Exchange between Systems - Internal Organiza-
  406.                    tion of the Network Layer
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413. ISO N4053                                                       [Page 7]
  414.  
  415. RFC 995                                                    December 1986
  416.  
  417.  
  418.    SC21/N965       OSI Management Framework --- Seventh Working Draft
  419.  
  420.    DIS 8802        Local Area Networks
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472. ISO N4053                                                       [Page 8]
  473.  
  474. RFC 995                                                    December 1986
  475.  
  476.  
  477.                           SECTION  ONE.  GENERAL
  478.  
  479. 4     Definitions
  480.  
  481. 4.1     Reference Model Definitions
  482.  
  483.    This document makes use of the following concepts defined in ISO 7498:
  484.  
  485.      (a)  Network layer
  486.  
  487.      (b)  Network service access point
  488.  
  489.      (c)  Network service access point address
  490.  
  491.      (d)  Network entity
  492.  
  493.      (e)  Routing
  494.  
  495.      (f)  Network protocol
  496.  
  497.      (g)  Network relay
  498.  
  499.      (h)  Network protocol data unit
  500.  
  501. 4.2     Network Layer Architecture Definitions
  502.  
  503.    This document makes use of the following concepts from DIS 8648, Internal
  504.    Organization of the Network Layer:
  505.  
  506.      (a)  Subnetwork
  507.  
  508.      (b)  End System
  509.  
  510.      (c)  Intermediate System
  511.  
  512.      (d)  Subnetwork Service
  513.  
  514.      (e)  Subnetwork Access Protocol
  515.  
  516.      (f)  Subnetwork Independent Convergence Protocol
  517.  
  518. 4.3     Network Layer Addressing Definitions
  519.  
  520.    This document makes use of the following concepts from DIS 8348/DAD2,
  521.    Addendum to the Network Service Definition Covering Network Layer Ad-
  522.    dressing:
  523.  
  524.  
  525.     (a)  Subnetwork address
  526.  
  527.     (b)  Subnetwork point of attachment
  528.  
  529.  
  530.  
  531. ISO N4053                                                       [Page 9]
  532.  
  533. RFC 995                                                    December 1986
  534.  
  535.  
  536. 4.4     Local Area Network Definitions
  537.  
  538.    This document makes use of the following concepts from DIS 8802, Local
  539.    Area Networks:
  540.  
  541.     (a)  multicast address
  542.  
  543.     (b)  broadcast medium
  544.  
  545. 4.5     Additional Definitions
  546.  
  547.    For the purposes of this document, the following definitions apply:
  548.  
  549.    Configuration:   The collection of End and Intermediate Systems
  550.          attached to a single subnetwork, defined in terms of the
  551.          system types, NSAP addresses present, Network Entities
  552.          present, and the correspondence between systems and SNPA
  553.          addresses.
  554.  
  555.    Network Entity Title:   An identifier for a network entity which
  556.          has the same abstract syntax as an NSAP address, and which
  557.          can be used to unambiguously identify a network entity in
  558.          an End or Intermediate System.
  559.  
  560. 5     Symbols and Abbreviations
  561.  
  562. 5.1     Data Units
  563.     PDU        Protocol Data Unit
  564.     SNSDU      Subnetwork Service Data Unit
  565.  
  566. 5.2     Protocol Data Units
  567.  
  568.     ESH PDU      End System Hello Protocol Data Unit
  569.     ISH PDU      Intermediate System Hello Protocol Data Unit
  570.     RD PDU       Redirect Protocol Data Unit
  571.  
  572. 5.3     Protocol Data Unit Fields
  573.  
  574.      NPID        Network Layer Protocol Identifier
  575.      LI          Length Indicator
  576.      V/P         Version/Protocol Identifier Extension
  577.      TP          Type
  578.      CS          Checksum
  579.      NETL        Network entity Title Length
  580.      NET         Network entity Title
  581.      DAL         Destination Address Length
  582.      DA          Destination Address
  583.      SAL         Source Address Length
  584.      SA          Source Address
  585.      BSNPAL      SN Address Length of better route to destination
  586.      BSNPA       SN Address of better route to destination
  587.  
  588.  
  589.  
  590. ISO N4053                                                      [Page 10]
  591.  
  592. RFC 995                                                    December 1986
  593.  
  594.  
  595.      HT          Holding timer
  596.  
  597. 5.4     Parameters
  598.      CT    Configuration Timer
  599.      RT    Redirect Timer
  600.  
  601. 5.5     Miscellaneous
  602.  
  603.      ES        End System
  604.      IS        Intermediate System
  605.      SN        Subnetwork
  606.      SNACP     Subnetwork Access Protocol
  607.      SNICP     Subnetwork Independent Convergence Protocol
  608.  
  609. 6     Overview of the Protocol
  610.  
  611. 6.1     Information Provided by the Protocol
  612.  
  613.    This Protocol provides two types of information to Network entities
  614.    which support its operation:
  615.  
  616.      a) Configuration Information, and
  617.  
  618.      b) Route Redirection Information
  619.  
  620.    Configuration Information permits End Systems to discover the ex-
  621.    istence and reachability of Intermediate Systems and permits Inter-
  622.    mediate Systems to discover the existence and reachability of End
  623.    Systems.  This information allows ESs and ISs attached to the same
  624.    subnetwork to dynamically discover each other's existence and availa-
  625.    bility, thus eliminating the need for manual intervention at ESs and
  626.    ISs to establish the identity of Network entities that can be used to
  627.    route NPDUs.
  628.  
  629.    Configuration Information also permits End Systems to obtain informa-
  630.    tion about each other in the absence of an available Intermediate
  631.    System.
  632.  
  633.                                     Note:
  634.      The term "configuration information" is not intended in the broad
  635.      sense of configuration as used in the context of OSI system
  636.      management.  Rather, only the functions specifically defined herein
  637.      are intended.
  638.  
  639.    Route Redirection Information allows Intermediate Systems to inform
  640.    End Systems of (potentially) better paths to use when forwarding
  641.    NPDUs to a particular destination. A better path could either be
  642.    another IS on the same subnetwork as the ES, or the destination ES
  643.    itself, if it on the same subnetwork as the source ES. Allowing the
  644.    ISs to inform the ESs of routes minimizes the complexity of routing
  645.    decisions in End Systems and improves performance because the ESs may
  646.  
  647.  
  648.  
  649. ISO N4053                                                      [Page 11]
  650.  
  651. RFC 995                                                    December 1986
  652.  
  653.  
  654.    make use of the better IS or local subnetwork access for subsequent
  655.    transmissions.
  656.  
  657. 6.2     Subsets of the Protocol
  658.  
  659.    A Network Entity may choose to support either the Configuration In-
  660.    formation, the Route Redirection Information, neither, or both. If
  661.    the Configuration Information is supported, it is not required that
  662.    it be employed over all subnetworks to which the Network entity is
  663.    attached.
  664.  
  665.  6.3   Addressing
  666.  
  667.    The Source Address and Destination Address parameters referred to in
  668.    this International Standard are OSI Network Service Access Point Ad-
  669.    dresses. The syntax and semantics of an OSI Network Service Access
  670.    Point Address are described in a separate document, ISO 8348/DAD2,
  671.    Addendum to the Network Service Definition covering Network Layer Ad-
  672.    dressing.
  673.  
  674. 6.4   Underlying Service Assumed by the Protocol
  675.  
  676.    The underlying service required to support this protocol is defined
  677.    by the primitives in Table 1.
  678.  
  679.      _________________________________________________________________
  680.      |    SN_UNITDATA          .Request    | SN_Destination_Address, |
  681.      |                         .Indication | SN_Source_Address,      |
  682.      |                                     | SN_Quality_of_Service,  |
  683.      |                                     | SN_Userdata             |
  684.      |_____________________________________|_________________________|
  685.  
  686.             Table 1: Service Primitives for Underlying Service
  687.  
  688.  
  689.  
  690.                              Note:
  691.       These service primitives are used to describe the abstract interface
  692.       which exists between the protocol machine and an underlying real
  693.       subnetwork or a Subnetwork Dependent Convergence Function which
  694.       operates over a real subnetwork or real data link to provide the
  695.       required underlying service.
  696.  
  697. 6.4.1  Subnetwork Addresses
  698.  
  699.    The source and destination addresses specify the points of attachment
  700.    to a public or private subnetwork(s) involved in the transmission
  701.    (known as Subnetwork Points of Attachment, or SNPAs).Subnetwork ad-
  702.    dresses are defined in the Service Definition of each individual sub-
  703.    network.  This protocol is designed to take advantage of subnetworks
  704.    which support broadcast, multicast, or other forms of multi-
  705.  
  706.  
  707.  
  708. ISO N4053                                                      [Page 12]
  709.  
  710. RFC 995                                                    December 1986
  711.  
  712.  
  713.    destination addressing for n-way transmission. It is assumed that the
  714.    SN_Destination_Address parameter may take on one of the following
  715.    multi-destination addresses in addition to a normal single destina-
  716.    tion address:
  717.  
  718.      All End System Network entities
  719.  
  720.      All Intermediate System Network entities
  721.  
  722.    Where a real subnetwork does not inherently support broadcast or oth-
  723.    er forms of transmission to multi-destination addresses, a conver-
  724.    gence function may be used to provide n-way transmission to these
  725.    multi-destination addresses.
  726.  
  727.    When the SN_Destination_Address on the SN_UNITDATA.Request is a
  728.    multi-destination address, the SN_Destination_Address parameter in
  729.    the corresponding SN_UNITDATA.Indication shall be the same multi-
  730.    destination address.
  731.  
  732.    The syntax and semantics of subnetwork addresses, except for the pro-
  733.    perties described above, are not defined in this Protocol Standard.
  734.  
  735. 6.4.2  Subnetwork User Data
  736.  
  737.    The SN_Userdata is an ordered multiple of octets, and is transferred
  738.    transparently between the specified subnetwork points of attachment.
  739.  
  740.    The underlying service is required to support a service data unit
  741.    size of at least that required to operate the Protocol for Providing
  742.    the Connectionless Network Service (ISO 8473).
  743.  
  744. 6.5   Service Assumed from Local Environment
  745.  
  746.    A timer service must be provided to allow the protocol entity to
  747.    schedule events.
  748.  
  749.      There are three primitives associated with the S-TIMER service:
  750.  
  751.        1.  the S--TIMER Request,
  752.        2.  the S--TIMER Response, and
  753.        3.  the S--TIMER Cancel.
  754.  
  755.    The S--TIMER Request primitive indicates to the local environment
  756.    that it should initiate a timer of the specified name and subscript
  757.    and maintain it for the duration specified by the time parameter.
  758.  
  759.    The S--TIMER Response primitive is initiated by the local environment
  760.    to indicate that the delay requested by the corresponding S-TIMER Re-
  761.    quest primitive has elapsed.
  762.  
  763.    The S--TIMER Cancel primitive is an indication to the local environ-
  764.  
  765.  
  766.  
  767. ISO N4053                                                      [Page 13]
  768.  
  769. RFC 995                                                    December 1986
  770.  
  771.  
  772.    ment that the specified timer(s) should be canceled.If the subscript
  773.    parameter is not specified, then all timers with the specified name
  774.    are canceled; otherwise, the timer of the given name and subscript is
  775.    cancelled. If no timers correspond to the parameters specified, the
  776.    local environment takes no action.
  777.  
  778.    The parameters of the S--TIMER service primitives are specified in
  779.    Table 2.
  780.  
  781.           ___________________________________________
  782.          |                          |               |
  783.          | S--TIMER     .Request    | S-Time,       |
  784.          |                          | S-Name,       |
  785.          |                          | S-Subscript   |
  786.          |                          |               |
  787.          |              .Response   | S-Name,       |
  788.          |                          | S-Subscript   |
  789.          |__________________________|_______________|
  790.  
  791.                   Table 2: Timer Primitives
  792.  
  793.    The time parameter indicates the time duration of the specified ti-
  794.    mer.  An identifiying label is associated with a timer by means of
  795.    the name parameter.The subscript parameter specifies a value to dis-
  796.    tinguish timers with the same name. The name and subscript taken to-
  797.    gether constitute a unique reference to the timer.
  798.  
  799.    Timers used in association with a specific protocol funtion are de-
  800.    fined under that protocol function.
  801.  
  802.                            Note:
  803.      This International Standard does not define specific values for the
  804.      timers.Any derivations described in this Standard are not mandatory.
  805.      Timer values should be chosen so that the requested Quality of
  806.      Service can be provided, given the known characteristics of the
  807.      underlying service.
  808.  
  809. 6.6   Subnetwork Types
  810.  
  811.    In order to evaluate the applicability of this protocol in particular
  812.    configurations of End Systems, Intermediate Systems and subnetworks,
  813.    three generic types of subnetwork are identified. These are:
  814.  
  815.      1.  the point-to-point subnetwork,
  816.  
  817.      2.  the broadcast subnetwork, and
  818.  
  819.      3.  the general topology subnetwork
  820.  
  821.     These subnetwork types are discussed in the following clauses.
  822.  
  823.  
  824.  
  825.  
  826. ISO N4053                                                      [Page 14]
  827.  
  828. RFC 995                                                    December 1986
  829.  
  830.  
  831. 6.6.1  Point-to-Point Subnetworks
  832.  
  833.    A point-to-point subnetwork supports exactly two systems. The two
  834.    systems may be either two End Systems, or an End System and a single
  835.    Intermediate System. A single point-to-point data link connecting two
  836.    Network Entities is an example of a point-to-point subnetwork.
  837.  
  838.  
  839.    Configuration Information on a point-to-point Subnetwork.On a point-
  840.    to-point subnetwork the Configuration Information of this protocol
  841.    informs the communicating Network entities of the following:
  842.  
  843.      1.  Whether the topology consists only of two End Systems, or
  844.  
  845.      2.  One of the two systems is a Intermediate System.
  846.  
  847.                            Note:
  848.      On a point-to-point subnetwork, if both systems are Intermediate Systems,
  849.      then this protocol is inapplicable to the situation, since a IS-to-IS
  850.      protocol should be employed instead. However, there is no reason why
  851.      the configuration information could not be employed in a IS-to-IS
  852.      environment to ascertain the topology and initiate operation of a
  853.      IS-to-IS protocol.
  854.  
  855.    The Intermediate System is informed of the NSAP address(es) supported
  856.    by the Network entity in the End System. This permits reachability
  857.    information and routing metrics concerning these NSAPs to be dissem-
  858.    inated to other Intermediate Systems for the purpose of calculating
  859.    routes to/from this End System.
  860.  
  861.    Route Redirection Information on a point-to-point Subnetwork.  Route
  862.    Redirection Information is not employed on point-to-point subnetworks
  863.    because there are never any alternate routes.
  864.  
  865. 6.6.2  Broadcast Subnetworks
  866.  
  867.    A Broadcast subnetwork supports an arbitrary number of End Systems
  868.    and Intermediate Systems, and additionally is capable of transmitting
  869.    a single SNPDU to all or a subset of these systems in response to a
  870.    single SN_UNITDATA.Request.An example of a broadcast subnetwork is a
  871.    LAN (local area network) conforming to DIS8802/2, type 1 operation.
  872.  
  873.  
  874.    Configuration Information on a broadcast Subnetwork.On a broadcast
  875.    subnetwork the Configuration Information of this protocol is employed
  876.    to inform the communicating Network entities of the following:
  877.  
  878.      1.  End Systems are informed of the reachability, Network entity Title,
  879.          and SNPA address(es) of each active Intermediate System on the
  880.          subnetwork.
  881.  
  882.  
  883.  
  884.  
  885. ISO N4053                                                      [Page 15]
  886.  
  887. RFC 995                                                    December 1986
  888.  
  889.  
  890.      2.  Intermediate Systems are informed of the NSAP addresses supported
  891.          by each End System and the Subnetwork address of the ES. Once the
  892.          Intermediate System obtains this information, reachability
  893.          information and routing metrics concerning these NSAPs may be
  894.          disseminated to other ISs for the purpose of calculating routes
  895.          to/from each ES on the subnetwork.
  896.  
  897.      3.  In the absence of an available Intermediate System, End Systems may
  898.          query over a broadcast subnetwork to discover whether a particular
  899.          NSAP is reachable on the subnetwork, and if so, what SNPA address
  900.          to use to reach that NSAP.
  901.  
  902.    Route Redirection Information on broadcast Subnetworks.Route Redirec-
  903.    tion Information may be employed on broadcast subnetworks to permit
  904.    Intermediate Systems to inform End Systems of superior routes to a
  905.    destination NSAP. The superior route might be another IS on the same
  906.    subnetwork as the ES, or it might be the destination ES itself, if it
  907.    is directly reachable on the same subnetwork as the source ES.
  908.  
  909. 6.6.3  General Topology Subnetworks
  910.  
  911.    A general topology subnetwork supports an arbitrary number of End
  912.    Systems and Intermediate Systems, but does not support a convenient
  913.    multidestination connectionless transmission facility as does a
  914.    broadcast subnetwork.An example of a general topology subnetwork is a
  915.    subnetwork employing X.25 or ISO 8208.
  916.  
  917.                                  Note:
  918.      The crucial distinguishing characteristic between the broadcast
  919.      subnetwork and the general topology subnetwork is the "cost" of an
  920.      n-way transmission to a potentially large subset of the systems on
  921.      the subnetwork. On a general topology subnetwork, the cost is assumed
  922.      to be close to the cost of sending an individual PDU to each SNPA on
  923.      the subnetwork.  Conversely, on a broadcast subnetwork the cost is
  924.      assumed to be close to the cost of sending a single PDU to one SNPA
  925.      on the subnetwork.  Intermediate situations between these extremes
  926.      are of course possible. In such cases it would be possible to treat the
  927.      subnetwork as either in the broadcast or general topology categories.
  928.  
  929.    Configuration Information on a general topology Subnetwork.  On a
  930.    general topology subnetwork the Configuration Information is general-
  931.    ly not employed because this protocol can be very costly in the util-
  932.    ization (and charging for) subnetwork resources.
  933.  
  934.  
  935.    Route Redirection Information on a general topology Subnetwork.
  936.    Route Redirection Information may be employed on general topology
  937.    subnetworks to permit Intermediate Systems to inform End Systems of
  938.    superior routes to a destination NSAP. The superior route might be
  939.    another IS on the same subnetwork as the ES, or it might be the des-
  940.    tination ES itself, if it is directly reachable on the same subnet-
  941.  
  942.  
  943.  
  944. ISO N4053                                                      [Page 16]
  945.  
  946. RFC 995                                                    December 1986
  947.  
  948.  
  949.    work as the source ES.
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003. ISO N4053                                                      [Page 17]
  1004.  
  1005. RFC 995                                                    December 1986
  1006.  
  1007.  
  1008.                 SECTION  TWO. SPECIFICATION OF THE PROTOCOL
  1009.  
  1010. 7     Protocol Functions
  1011.  
  1012.    This section describes the functions performed as part of the Proto-
  1013.    col.  Not all of the functions must be performed by every implementa-
  1014.    tion.  Clause 7.12 specifies which functions may be omitted and the
  1015.    correct behavior where requested functions are not implemented.
  1016.  
  1017. 7.1     Protocol Timers
  1018.  
  1019.    Many of the protocol functions are timer based. This means that they
  1020.    are executed upon expiration of a timer rather than upon receipt of a
  1021.    PDU or invocation of a service primitive. The two major types of ti-
  1022.    mers employed by the protocol are the Configuration Timer (CT) and
  1023.    the Holding Timer (HT).
  1024.  
  1025. 7.1.1    Configuration Timer
  1026.  
  1027.    The Configuration Timer is a local timer (i.e. maintained indepen-
  1028.    dently by each system) which performs the Report Configuration func-
  1029.    tion (see section 7.2).  The timer determines how often a system re-
  1030.    ports its availability to the other systems on the same subnetwork.
  1031.    The shorter the Configuration Timer, the more quickly other systems
  1032.    on the subnetwork will become aware when the reporting system becomes
  1033.    available or unavailable. The increased responsiveness must be traded
  1034.    off against increased use of resources in the subnetwork and in the
  1035.    recipient systems.
  1036.  
  1037. 7.1.2    Holding Timer
  1038.  
  1039.    The Holding Timer applies to both Configuration Information and Route
  1040.    Redirection Information. The value of the Holding Timer is set by the
  1041.    source of the information and transmitted in the appropriate PDU. The
  1042.    recipient of the information is expected to retain the information no
  1043.    longer than the Holding Timer. Old Configuration or Route Redirection
  1044.    information must be discarded after the Holding Timer expires to en-
  1045.    sure the correct operation of the protocol.
  1046.  
  1047.    Further discussion of the rationale for these timers and guidelines
  1048.    for their use may be found in annex 10.
  1049.  
  1050. 7.2   Report Configuration Function
  1051.  
  1052.    The Report Configuration Function is used by End Systems and Inter-
  1053.    mediate Systems to inform each other of their reachability and
  1054.    current subnetwork address. This function is invoked every time the
  1055.    local Configuration Timer (CT) expires in an ES or IS. It is also in-
  1056.    voked upon receipt of a Query Configuration PDU from another End Sys-
  1057.    tem.
  1058.  
  1059.  
  1060.  
  1061.  
  1062. ISO N4053                                                      [Page 18]
  1063.  
  1064. RFC 995                                                    December 1986
  1065.  
  1066.  
  1067.    7.2.1  Report Configuration by End Systems
  1068.  
  1069.    An End System constructs and transmits one ESH PDU (ESH stands for
  1070.    "End System Hello") for each NSAP it serves, and issues one
  1071.    SN_UNITDATA.- Request with the ESH PDU as the SNSDU on each subnet-
  1072.    work to which it is attached.
  1073.  
  1074.                                    Note:
  1075.      The necessity to transmit a separate ESH PDU for each NSAP served by
  1076.      the Network entity arises from the lack of a formalized relationship
  1077.      between Network Entity Titles and NSAP addresses. If this relationship
  1078.      could be constrained to require that all NSAP addresses be assigned as
  1079.      leaf subdomains of a domain represented by the local Network entity's
  1080.      Network entity Title, then a single ESH PDU could be transmitted
  1081.      containing the ESs Network entity Title.The Network entity Title
  1082.      would then imply which NSAPs might be present at that End system.
  1083.  
  1084.    The Holding Timer (HT) field is set to approximately twice the ESs
  1085.    Configuration Timer (CT) parameter. This variable is set to a value
  1086.    large enough so that even if every other ESH PDU is discarded (due to
  1087.    lack of resources), or otherwise lost in the subnetwork, the confi-
  1088.    guration information will still be maintained. The value must be set
  1089.    small enough so that Intermediate Systems can respond in a timely
  1090.    fashion to End Systems becoming available or unavailable.
  1091.  
  1092.    The SN_Destination_Address parameter is set to the group address that
  1093.    indicates "All Intermediate System Network Entities". This ensures
  1094.    that a single transmission on a broadcast subnetwork will reach all
  1095.    of the active Intermediate Systems.
  1096.  
  1097.                                    Note:
  1098.      The actual value of the SN_Destination_Address used to mean "All
  1099.      Intermediate System Network Entities" is subnetwork dependent and will
  1100.      most likely vary from subnetwork to subnetwork. It would of course be
  1101.      desirable that on widely-used subnetwork types (such as those based
  1102.      on DIS 8802) that this value and the value of the "All End System
  1103.      Network Entities" group address, be standardized.
  1104.  
  1105. 7.2.2  Report Configuration by Intermediate Systems
  1106.  
  1107.    An Intermediate System constructs a single ISH PDU (ISH stands for
  1108.    "Intermediate System Hello") containing the ISs Network Entity Title
  1109.    and issues one SN_UNITDATA.Request with the ISH PDU as the SNSDU on
  1110.    each subnetwork to which it is attached.
  1111.  
  1112.    The Holding Timer (HT) field is set to approximately twice the Inter-
  1113.    mediate System's Configuration Timer (CT) parameter. This variable is
  1114.    set to a value large enough so that even if every other ISH PDU is
  1115.    discarded (due to lack of resources), or otherwise lost in the sub-
  1116.    network, the configuration information will still be maintained.The
  1117.    value must be set small enough so that End Systems will quickly cease
  1118.  
  1119.  
  1120.  
  1121. ISO N4053                                                      [Page 19]
  1122.  
  1123. RFC 995                                                    December 1986
  1124.  
  1125.  
  1126.    to use ISs that have failed, thus preventing "black holes" in the
  1127.    Network.
  1128.  
  1129.    The SN_Destination_Address parameter is set to the group address that
  1130.    indicates "All End System Network Entities".This ensures that a sin-
  1131.    gle transmission on a broadcast subnetwork will reach all of the ac-
  1132.    tive End Systems.
  1133.  
  1134. 7.3   Record Configuration Function
  1135.  
  1136.    The Record Configuration function receives ESH or ISH PDUs, extracts
  1137.    the configuration information, and adds or replaces the corresponding
  1138.    configuration information in the local Network entity's Routing In-
  1139.    formation base.  If insufficient space is available to store new con-
  1140.    figuration information, the PDU is discarded. No Error Report is gen-
  1141.    erated.
  1142.  
  1143.                                      Note:
  1144.      The protocol is described such that End Systems receive and record
  1145.      only ISH PDUs and Intermediate Systems receive and process only
  1146.      ESH PDUs. If an ES so desires however, it may decide to process ESH
  1147.      PDUs as well (on a broadcast network this is easily done by enabling
  1148.      the appropriate group address). There is potentially some performance
  1149.      improvement to be gained by doing this, at the expense of extra memory,
  1150.      and possibly extra processing cycles in the End System.The
  1151.      ES, by recording other ESs' Configuration information, may be able
  1152.      to route NPDUs directly to ESs on the local subnetwork without first
  1153.      being redirected by a Intermediate System.
  1154.  
  1155.      Similarly, Intermediate Systems may choose to receive the ISH PDUs
  1156.      of other ISs, allowing this protocol to be used as the initialization and
  1157.      topology maintenance portion of a full IS-to-IS routing protocol.
  1158.      Both of these possibilities are for further study.
  1159.  
  1160. 7.4   Flush Old Configuration Function
  1161.  
  1162.    The Flush Old Configuration Function is executed to remove Configura-
  1163.    tion entries in the routing information base whose Holding Timer has
  1164.    expired.  When the Holding Time for an ES or IS expires, this func-
  1165.    tion removes the corresponding entry from the routing information
  1166.    base of the local Network Entity.
  1167.  
  1168. 7.5   Query Configuration Function
  1169.  
  1170.    The Query Configuration Function is performed under the following
  1171.    circumstances:
  1172.  
  1173.      1. The End System is attached to a broadcast subnetwork,
  1174.  
  1175.      2. There is no Intermediate System currently reachable on the
  1176.         subnetwork (i.e. no ISH PDUs have been received since the last
  1177.  
  1178.  
  1179.  
  1180. ISO N4053                                                      [Page 20]
  1181.  
  1182. RFC 995                                                    December 1986
  1183.  
  1184.  
  1185.         information was flushed by the Flush Old Configuration Function),
  1186.  
  1187.      3. The Network Layer's Route PDU Function needs to obtain the SNPA
  1188.         address to which to forward a PDU destined for a certain NSAP, and
  1189.  
  1190.      4. The SNPA address cannot be obtained either by a local transformation
  1191.         or a local table lookup.
  1192.  
  1193.                                      Note:
  1194.      Despite appearances, this is actually a quite common case, since it
  1195.      is likely that there will be numerous isolated Local Area Networks
  1196.      without Intermediate Systems to rely upon for obtaining routing
  1197.      information (e.g.via the Request Redirect Function of this protocol).
  1198.      Further, if the Intermediate System(s) are temporarily unavailable,
  1199.      without this capability communication on the local subnetwork would
  1200.      suffer unless manually-entered tables were present in each End System
  1201.      or all NSAPs of the subnetwork had the subnetwork SNPA address
  1202.      embedded in them.
  1203.  
  1204.    The End System, when needing to route an NPDU to a destination NSAP
  1205.    whose SNPA is unknown issues an SN_UNITDATA.Request with the NPDU as
  1206.    the SN_Userdata.The SN_Destination_Address parameter is set to the
  1207.    group address that indicates "All End System Network Entities".
  1208.  
  1209.    Subsequently an ESH PDU may be received containing the NSAP address
  1210.    along with the corresponding SNPA address (see clause 7.6). In such a
  1211.    case the End System executes the Record Configuration function for
  1212.    the NSAP, and therefore will be able to route subsequent PDUs to that
  1213.    destination using the specified SNPA. If no ESH PDU is received, the
  1214.    End System may declare the destination NSAP is not reachable. The
  1215.    length of time to wait for a response before indicating a failure or
  1216.    the possibility of repeating the process some number of times before
  1217.    returning a failure are local matters and are not specified in this
  1218.    standard.
  1219.  
  1220. 7.6   Configuration Response Function
  1221.  
  1222.    The Configuration Response function is performed when an End System
  1223.    attached to a broadcast subnetwork receives an NPDU addressed to one
  1224.    of its NSAPs, with the SN_Destination_Address from the
  1225.    SN_UNITDATA.Indication set to the group address "All End System
  1226.    Netowrk Entities". This occurs as a result of another ES having per-
  1227.    formed the Query Configuration function described in clause 7.5.
  1228.  
  1229.    The End System constructs an ESH PDU identical in content to the ESH
  1230.    PDU constructed by the Report Configuration function (see clause
  1231.    7.2.1) for the NSAP to which the received NPDU was addressed.It then
  1232.    transmits the ESH PDU to the source of the original NPDU by issuing
  1233.    an SN_UNITDATA.Request with the SN_Destination_Address set to the
  1234.    value of the SN_Source_Address received in the SN_UNITDATA.Indication
  1235.    with the original NPDU.
  1236.  
  1237.  
  1238.  
  1239. ISO N4053                                                      [Page 21]
  1240.  
  1241. RFC 995                                                    December 1986
  1242.  
  1243.  
  1244. 7.7     Request Redirect Function
  1245.  
  1246.    The Request Redirect Function is present only in Intermediate Systems
  1247.    and is closely coupled with the Routing and Relaying Functions of In-
  1248.    termediate Systems. The Request Redirect Function is coupled with the
  1249.    "Route PDU Function" described in clause 6.5 of ISO 8473. The Request
  1250.    Redirect Function is performed after the Route PDU function has cal-
  1251.    culated the next hop of the Data PDU's path.
  1252.  
  1253.    When an NPDU is to be forwarded by a Intermediate System, the Request
  1254.    Redirect Function first examines the SN_Source_Address associated
  1255.    with the SN_UNITDATA.Indication which received the SNSDU (containing
  1256.    this NPDU). If the SN_Source_Address is not from an End System on the
  1257.    local subnetwork (determined by examining the Configuration informa-
  1258.    tion obtained through the Record Configuration Function), then this
  1259.    function does no further processing of the NPDU.
  1260.  
  1261.    If the NPDU was received directly from an ES the output of the ISs
  1262.    Routing and Relaying function for this NPDU is examined. This output
  1263.    will contain, among other things, the following pieces of informa-
  1264.    tion:
  1265.  
  1266.      1. a local identifier for the subnetwork over which to forward the NPDU,
  1267.         plus either
  1268.  
  1269.      2. the Network entity title and subnetwork address of the IS to which to
  1270.         forward the NPDU, or
  1271.  
  1272.      3. the subnetwork address of the destination End System.
  1273.  
  1274.    The Request Redirect function must now determine if the source ES
  1275.    could have sent the NPDU directly to the Network entity the Inter-
  1276.    mediate System is about to forward the PDU to. If any of the follow-
  1277.    ing conditions hold, the source ESshould be informed of the "better"
  1278.    path (by sending an RD PDU to the originating ES):
  1279.  
  1280.      1. The next hop is to the destination system, and the destination is
  1281.         directly reachable (at subnetwork address BSNPA) on the source ESs
  1282.         subnetwork, or
  1283.  
  1284.      2. The next hop is to a Intermediate System which is connected to the
  1285.         same subnetwork as the ES.
  1286.  
  1287.    If the better path exists, the IS first completes normal processing
  1288.    of the received NPDU and forwards it.It then constructs a Redirect
  1289.    PDU (RD PDU) containing the Destination Address of the original NPDU,
  1290.    the subnetwork address of the better next hop (BSNPA), the Network
  1291.    Entity Title of the IS to which the ES is being redirected (unless
  1292.    the redirect is to the destination ES), a Holding Time (HT), QoS
  1293.    Maintenance, Priority, and Security options that were present in the
  1294.    Data NPDU (these are simply copied from the Data PDU). The HT is set
  1295.  
  1296.  
  1297.  
  1298. ISO N4053                                                      [Page 22]
  1299.  
  1300. RFC 995                                                    December 1986
  1301.  
  1302.  
  1303.    to the value of the local Redirect Timer (RT). See Annex A for a dis-
  1304.    cussion of how to choose the value of RT.  If there are insufficient
  1305.    resources to both forward the original NPDU and to generate and send
  1306.    an RD PDU, the original NPDU must be given preference.  The Inter-
  1307.    mediate System (assuming it has sufficient resources) then sends the
  1308.    RD PDU to the source End System using the SN_Source_Address of the
  1309.    received NPDU as the SN_Destination_Address for the SN_UNITDATA.-
  1310.    Reqeust.
  1311.  
  1312. 7.8   Record Redirect Function
  1313.  
  1314.    The Record Redirect Function is present only in End Systems. This
  1315.    function is invoked whenever an RD PDU is received. It extracts the
  1316.    redirect information and adds or replaces the corresponding redirec-
  1317.    tion information in the local Network entity's Routing Information
  1318.    base. The essential information is the redirection mapping from a
  1319.    Destination Address to a subnetwork address, along with the Priority,
  1320.    Security, and QoS Maintenance options and the Holding Time for which
  1321.    this mapping is to be considered valid. If the Redirect was to anoth-
  1322.    er Intermediate System, the Network Entity Title of the IS is record-
  1323.    ed as well.
  1324.  
  1325.                                     Note:
  1326.      If insufficient memory is available to store new redirection information,
  1327.      the RD PDU may be safely discarded since the original Intermediate
  1328.      System will continue to forward PDUs on behalf of this Network entity
  1329.      anyway.
  1330.  
  1331. 7.9   Refresh Redirect Function
  1332.  
  1333.    The Refresh Redirect Function is present only in End Systems. This
  1334.    function is invoked whenever an NPDU is received by a destination ES.
  1335.    It is closely coupled with the function that processes received NPDUs
  1336.    at a destination Network Entity.This is the "PDU Decomposition" func-
  1337.    tion in ISO 8473.  The purpose of this function is to increase the
  1338.    longevity of a redirection without allowing an incorrect route to
  1339.    persist indefinitely.  The Source Address (SA), Priority, Security,
  1340.    and QoS options are extracted and compared to any Destination Address
  1341.    and QoS parameters being maintained in the Routing Information base
  1342.    (such information would have been stored by the Record Redirect Func-
  1343.    tion). If a corresponding entry is found, the previous hop of the PDU
  1344.    is obtained from the SN_Source_Address parameter of the
  1345.    SN_Unitdata.Indication primitive by which it was received.  If this
  1346.    address matches the next hop address stored with the redirection in-
  1347.    formation, the remaining holding time for the redirection is reset to
  1348.    the original holding timer that was obtained from the RD PDU.
  1349.  
  1350.                                        Note:
  1351.      The purpose of this function is to avoid timing out redirection entries
  1352.      when the Network entity is receiving return traffic from the destination
  1353.      via the same path over which it is currently sending traffic.This is
  1354.  
  1355.  
  1356.  
  1357. ISO N4053                                                      [Page 23]
  1358.  
  1359. RFC 995                                                    December 1986
  1360.  
  1361.  
  1362.      particularly useful when the destination system is on the same subnetwork
  1363.      as the source, since after one redirect no IS need be involved in
  1364.      the ES-to-ES traffic.
  1365.  
  1366.      This function must operate in a very conservative fashion however,
  1367.      to prevent the formation of black holes. The remaining holding time
  1368.      should be refreshed only under the exact conditions specified above.
  1369.      For a discussion of the issues surrounding the refresh of redirection
  1370.      information, see Annex 10.
  1371.  
  1372. 7.10   Flush Old Redirect Function
  1373.  
  1374.    The Flush Old Redirect Function is executed to remove Configuration
  1375.    entries in the routing information base whose Holding Timer has ex-
  1376.    pired.  When the Holding Time for an ES or IS expires, this function
  1377.    removes the corresponding entry from the routing information base of
  1378.    the local Network Entity.
  1379.  
  1380. 7.11   PDU Header Error Detection
  1381.  
  1382.    The PDU Header Error Detection function protects against failure of
  1383.    Intermediate or End System Network entities due to the processing of
  1384.    erroneous information in the PDU header.The function is realized by a
  1385.    checksum computed on the entire PDU header. The checksum is verified
  1386.    at each point at which the PDU is processed. If the checksum calcula-
  1387.    tion fails, the PDU must be discarded.
  1388.  
  1389.    The use of the Header Error Detection function is optional and is
  1390.    selected by the originating Network Entity. If the function is not
  1391.    used, the checksum field of the PDU header is set to zero.
  1392.  
  1393.    If the function is selected by the originating Network Entity, the
  1394.    value of the checksum field causes the following formulf to be satis-
  1395.    fied:
  1396.  
  1397.         (The Sum from i=1 to L of a(i)) (mod   255) = 0
  1398.  
  1399.         (The Sum from i=1 to L of  (L - i + 1) * a(i))  (mod   255) = 0
  1400.  
  1401.  
  1402.    where L = the number of octets in the PDU header, and a(i) = the value of
  1403.    the octet at position i. The first octet in the PDU header is considered to
  1404.    occupy position i = 0.
  1405.  
  1406.    When the function is in use, neither octet of the checksum field may be
  1407.    set to zero.
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416. ISO N4053                                                      [Page 24]
  1417.  
  1418. RFC 995                                                    December 1986
  1419.  
  1420.  
  1421. 7.12   Classification of Functions
  1422.  
  1423.    Implementations do not have to support all of the functions described
  1424.    in clause 7. Functions are divided into four categories:
  1425.  
  1426.    Type A:   These functions must be supported in all cases.
  1427.  
  1428.    Type B:   These functions must be supported by Systems which implement
  1429.              the Configuration Information.
  1430.  
  1431.    Type C:   These functions must be supported by Systems which implement
  1432.              the Redirect Information.
  1433.  
  1434.    Type D:   These functions are optional.
  1435.  
  1436.    If a PDU is received which invokes an optional function that is not
  1437.    implemented, that PDU is discarded.
  1438.  
  1439.    Table 3 shows how the functions are divided into these four
  1440.    categories, and to which type of system (ES, IS, or both) they apply.
  1441.  
  1442.     ______________________________________________________________
  1443.     | Function                      |   Category |   System Type |
  1444.     |_______________________________|____________|_______________|
  1445.     | Report Configuration          |      B     |      ES,IS    |
  1446.     | Record Configuration          |      B     |      ES,IS    |
  1447.     | Configuration Response        |      A     |       ES      |
  1448.     | Flush Old Configuration       |      B     |      ES,IS    |
  1449.     | Request Redirect              |      C     |       IS      |
  1450.     | Query Configuration           |      B     |       ES      |
  1451.     | Record Redirect               |      C     |       ES      |
  1452.     | Refresh Redirect              |      D     |       ES      |
  1453.     | Flush Old Redirect            |      C     |       ES      |
  1454.     | PDU Header Error Detection    |      A     |      ES,IS    |
  1455.     |_______________________________|____________|_______________|
  1456.  
  1457.             Table 3: Categories of Protocol Functions
  1458.  
  1459. 8   Structure and Encoding of PDUs
  1460.  
  1461.                               Note:
  1462.      The encoding of the PDUs for this protocol is compatible with that
  1463.      used in ISO 8473.
  1464.  
  1465.                        Temporary Note:
  1466.      The method employed for describing the encoding of PDUs is provisional.
  1467.      Member bodies are requested to comment on whether another
  1468.      method (such as ASN.1 with an appropriate concrete syntax) would
  1469.      be preferable.
  1470.  
  1471.  
  1472.  
  1473.  
  1474.  
  1475. ISO N4053                                                      [Page 25]
  1476.  
  1477. RFC 995                                                    December 1986
  1478.  
  1479.  
  1480. 8.1   Structure
  1481.  
  1482.    All Protocol Data Units shall contain an integral number of
  1483.    octets.The octets in a PDU are numbered starting from one (1) and in-
  1484.    creasing in the order in which they are put into an SNSDU. The bits
  1485.    in an octet are numbered from one (1) to eight (8), where bit one (1)
  1486.    is the low-order bit.  When consecutive octets are used to represent
  1487.    a binary number, the lower octet number has the most significant
  1488.    value.
  1489.  
  1490.    Any subnetwork supporting this protocol is required to state in its
  1491.    specification the way octets are transferred, using the terms "most
  1492.    significant bit" and "least significant bit". The PDUs of this proto-
  1493.    col are defined using the terms "most significant bit" and "least
  1494.    significant bit".
  1495.  
  1496.                              Note:
  1497.      When the encoding of a PDU is represented using a diagram in this
  1498.      section, the following representation is used:
  1499.  
  1500.      a) octets are shown with the lowest numbered octet to the left,
  1501.         higher number octets being further to the right;
  1502.      b) within an octet, bits are shown with bit eight (8) to the left and
  1503.         bit one (1) to the right.
  1504.  
  1505.     PDUs shall contain, in the following order:
  1506.  
  1507.      1.  the fixed part;
  1508.  
  1509.      2.  the Network address part;
  1510.  
  1511.      3.  the Subnetwork address part, if present; and
  1512.  
  1513.      4.  the Options part, if present.
  1514.  
  1515. 8.2   Fixed Part
  1516.  
  1517. 8.2.1  General
  1518.  
  1519.    The fixed part contains frequently occurring parameters including the
  1520.    type code (ESH, ISH, or RD) of the protocol data unit.The length and
  1521.    the structure of the fixed part are defined by the PDU code.
  1522.  
  1523.  
  1524.  
  1525.  
  1526.  
  1527.  
  1528.  
  1529.  
  1530.  
  1531.  
  1532.  
  1533.  
  1534. ISO N4053                                                      [Page 26]
  1535.  
  1536. RFC 995                                                    December 1986
  1537.  
  1538.  
  1539.    The fixed part has the following format:
  1540.  
  1541.                                                Octet
  1542.       ________________________________________
  1543.       |    Network Layer Protocol Identifier |    1
  1544.       |______________________________________|
  1545.       |           Length Indicator           |    2
  1546.       |______________________________________|
  1547.       |      Version/Protocol Id Extension   |    3
  1548.       |______________________________________|
  1549.       |        reserved (must be zero)       |    4
  1550.       |______________________________________|
  1551.       | 0 |0 |0 |           Type             |    5
  1552.       |___|__|__|____________________________|
  1553.       |           Holding Time               |   6,7
  1554.       |______________________________________|
  1555.       |             Checksum                 |   8,9
  1556.       |______________________________________|
  1557.  
  1558.          Figure 1: PDU Header -- Fixed Part
  1559.  
  1560.  
  1561. 8.2.2  Network Layer Protocol Identifier
  1562.  
  1563.    The value of this field shall be 1000 0010.
  1564.  
  1565.                      Temporary Note:
  1566.      The value 1000 0010 is provisional, pending resolution of the NLPID
  1567.      issue in SC6.
  1568.  
  1569.    This field identifies this Network Layer Protocol as ISO SC6/N4053,
  1570.    End System to Intermediate System Routing Exchange Protocol for use in
  1571.    conjunction with ISO 8473.
  1572.  
  1573. 8.2.3  Length Indicator
  1574.  
  1575.    The length is indicated by a binary number, with a maximum value of
  1576.    254 (1111 1110).The length indicated is the length of the entire PDU
  1577.    (which consists entirely of header, since this protocol does not car-
  1578.    ry user data) in octets, as described in clause 8.1. The value 255
  1579.    (1111 1111) is reserved for possible future extensions.
  1580.  
  1581. 8.2.4  Version/Protocol Identifier Extension
  1582.  
  1583.    The value of this field is binary 0000 0001. This identifies a stan-
  1584.    dard version of ISO xxxx, End System to Intermediate System Routing
  1585.    Exchange Protocol for use in conjunction with ISO 8473.
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593. ISO N4053                                                      [Page 27]
  1594.  
  1595. RFC 995                                                    December 1986
  1596.  
  1597.  
  1598. 8.2.5  Type Code
  1599.  
  1600.    The Type code field identifies the type of the protocol data unit.
  1601.    Allowed values are given in table 4.
  1602.  
  1603.    _____________________________________________________
  1604.    |            | Bits               5   4   3   2   1 |
  1605.    |____________|______________________________________|
  1606.    |____________|______________________________________|
  1607.    |ESH PDU     |                    0   0   0   1   0 |
  1608.    |____________|______________________________________|
  1609.    |ISH PDU     |                    0   0   1   0   0 |
  1610.    |____________|______________________________________|
  1611.    |RD PDU      |                    0   0   1   1   0 |
  1612.    |____________|______________________________________|
  1613.  
  1614.                    Table 4: Valid PDU Types
  1615.  
  1616.    All other PDU type values are reserved.
  1617.  
  1618. 8.2.6  Holding Time
  1619.  
  1620.    The Holding Time field specifies for how long the receiving Network
  1621.    entity should retain the configuration/routing information contained
  1622.    in this PDU.  The receiving Network entity should discard any infor-
  1623.    mation obtained from this PDU from its internal state when the hold-
  1624.    ing time expires.  The Holding time field is encoded as an integral
  1625.    number of micro-fortnights.
  1626.  
  1627. 8.2.7  PDU Checksum
  1628.  
  1629.    The checksum is computed on the entire PDU header. A checksum value
  1630.    of zero is reserved to indicate that the checksum is to be ignored.
  1631.    The operation of the PDU Header Error Detection function (Clause
  1632.    7.11) ensures that the value zero does not represent a valid check-
  1633.    sum. A non-zero value indicates that the checksum must be processed.
  1634.    If the checksum calculation fails, the PDU must be discarded.
  1635.  
  1636. 8.3   Network Address Part
  1637.  
  1638. 8.3.1  General
  1639.  
  1640.    Address parameters are distinguished by their location. The different
  1641.    PDU types carry different address parameters however.The ESH PDU car-
  1642.    ries a Source NSAP address (SA); the ISH PDU carries a Intermediate
  1643.    System Network entity Title (NET); and the RD PDU carries a Destina-
  1644.    tion NSAP address (DA), and possibly a Network Entity Title (NET).
  1645.  
  1646. 8.3.2  NPAI (Network Protocol Address Information) Encoding
  1647.  
  1648.    The Destination and Source Addresses are Network Service Access Point
  1649.  
  1650.  
  1651.  
  1652. ISO N4053                                                      [Page 28]
  1653.  
  1654. RFC 995                                                    December 1986
  1655.  
  1656.  
  1657.    addresses as defined in ISO 8348/AD2, Addendum to the Network Service
  1658.    Definition Covering Network Layer addressing.The Network Entity Title
  1659.    address parameter is defined in clause 4.5. The Destination Address,
  1660.    Source Address, and Network Entity Title are encoded as NPAI using
  1661.    the binary syntax defined in clause 8.3.1 of ISO 8348/AD2.
  1662.  
  1663.    The address information is of variable length. Each address parameter
  1664.    is encoded as follows:
  1665.  
  1666.          _______________________________________________
  1667.          | Octet  | Address parameter Length Indicator |
  1668.          |   n    |                (e.g., 'm')         |
  1669.          |________|____________________________________|
  1670.          | Octets |                                    |
  1671.          | n + 1  |       Address Parameter Value      |
  1672.          |  thru  |                                    |
  1673.          | n + m  |                                    |
  1674.          |________|____________________________________|
  1675.  
  1676.                        Figure 2:  Address Parameters
  1677. 8.3.3  Source Address Parameter for ESH PDU
  1678.  
  1679.    The Source Address is the NSAP address of an NSAP served by the Net-
  1680.    work entity sending the ESH PDU. It is encoded in the ESH PDU as fol-
  1681.    lows:
  1682.  
  1683.  
  1684.                                                    Octet
  1685.          ________________________________________
  1686.          |Source Address Length Indicator (SAL) |   10
  1687.          |______________________________________|
  1688.          |                                      |   11
  1689.          :           Source Address (SA)        :
  1690.          |                                      |  m - 1
  1691.          |______________________________________|
  1692.  
  1693.           Figure 3: ESH PDU - Network Address Part
  1694.  
  1695. 8.3.4  Network Entity Title Parameter for ISH PDU
  1696.  
  1697.    The Network entity Title parameter is the Network Entity Title of the
  1698.    Intermediate System sending the ISH PDU. It is encoded in the ISH PDU
  1699.    as follows:
  1700.  
  1701.  
  1702.  
  1703.  
  1704.  
  1705.  
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711. ISO N4053                                                      [Page 29]
  1712.  
  1713. RFC 995                                                    December 1986
  1714.  
  1715.  
  1716.                                                    Octet
  1717.    _______________________________________________
  1718.    |Network Entity Title Length Indicator (NETL) |  10
  1719.    |_____________________________________________|
  1720.    |                                             |  11
  1721.    :           Network Entity Title (NET)        :
  1722.    |                                             | m - 1
  1723.    |_____________________________________________|
  1724.  
  1725.       Figure 4: ISH PDU - Network Address Part
  1726.  
  1727. 8.3.5  Destination Address Parameter for RD PDU
  1728.  
  1729.    The Destination Address is the NSAP address of a destination associ-
  1730.    ated with some NPDU being forwarded by the Intermediate System send-
  1731.    ing the RD PDU. It is encoded in the RD PDU as follows:
  1732.  
  1733.                                                   Octet
  1734.     _____________________________________________
  1735.     |Destination Address Length Indicator (DAL) |  10
  1736.     |___________________________________________|
  1737.     |                                           |  11
  1738.     :           Destination Address (DA)        :
  1739.     |                                           | m - 1
  1740.     |___________________________________________|
  1741.  
  1742.        Figure 5: RD PDU - Network Address Part
  1743.  
  1744.  
  1745. 8.4   Subnetwork Address Part
  1746.  
  1747.    The Subnetwork Address Part is present only in RD PDUs.It is used to
  1748.    indicate the subnetwork address of another Network entity on the same
  1749.    subnetwork as the End System (and Intermediate System) which may be a
  1750.    better path to the destination specified in the Network Address Part.
  1751.    The Subnetwork Address parameter is encoded in the same manner as the
  1752.    Network Address parameters.
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763.  
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.  
  1770. ISO N4053                                                      [Page 30]
  1771.  
  1772. RFC 995                                                    December 1986
  1773.  
  1774.  
  1775. 8.4.1    Subnetwork Address Parameter for RD PDU
  1776.  
  1777.     The Subnetwork Address Parameter is encoded in the RD PDU as fol-
  1778.    lows:
  1779.  
  1780.                                                    Octet
  1781.     _______________________________________________
  1782.     |Subnetwork Address Length Indicator (BSNPAL) |   m
  1783.     |_____________________________________________|
  1784.     |                                             | m + 1
  1785.     :         Subnetwork Address (BSNPA)          :
  1786.     |                                             | n - 1
  1787.     |_____________________________________________|
  1788.  
  1789.            Figure 6: ESH PDU - Address Part
  1790.  
  1791.  8.5     Options Part
  1792.  
  1793.  8.5.1    General
  1794.  
  1795.     The options part is used to convey optional parameters. The options
  1796.    part
  1797.     of the PDU header is illustrated below:
  1798.  
  1799.                                                         Octet
  1800.     ___________________________________________________
  1801.     |                                                  |   p
  1802.     :                    Options                       :
  1803.     |                                                  |   q
  1804.     |__________________________________________________|
  1805.  
  1806.                Figure 7: All PDUs - Options Part
  1807.  
  1808.    If the options part is present, it may contain one or more parame-
  1809.    ters.  The number of parameters that may be contained in the options
  1810.    part is constrained by the length of the options part, which is
  1811.    determined by the following formula:
  1812.  
  1813.       PDU Header Length - (length of fixed part + length of address
  1814.       part + length of segmentation part),
  1815.  
  1816.    and by the length of the individual optional parameters.
  1817.  
  1818.    Parameters defined in the options part may appear in any order.  Du-
  1819.    plication of options is not permitted.Receipt of a PDU with an option
  1820.    duplicated must be treated as a protocol error.
  1821.  
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.  
  1828.  
  1829. ISO N4053                                                      [Page 31]
  1830.  
  1831. RFC 995                                                    December 1986
  1832.  
  1833.  
  1834.    The encoding of parameters contained within the options part of the
  1835.    PDU header is illustrated below in figure 8.
  1836.  
  1837.           Octets
  1838.           _________________________________
  1839.           |     n      |  Parameter Code  |
  1840.           |____________|__________________|
  1841.           |   n + 1    | Parameter Length |
  1842.           |____________|__________________|
  1843.           |   n + 2    |                  |
  1844.           |     to     | Parameter Value  |
  1845.           | n + m + 1  |                  |
  1846.           |____________|__________________|
  1847.  
  1848.       Figure 8:  Encoding of Option Parameters
  1849.  
  1850.    The parameter code field is coded in binary and, without extensions,
  1851.    provides a maximum of 255 different parameters. No parameter codes
  1852.    use bits 8 and 7 with the value 00, so the actual maximum number of
  1853.    parameters is lower. A parameter code of 255 (binary 1111 1111) is
  1854.    reserved for possible future extensions.
  1855.  
  1856.    The parameter length field indicates the length, in octets, of the
  1857.    parameter value field.The length is indicated by a positive binary
  1858.    number, m, with a theoretical maximum value of 254. the practical
  1859.    maximum value of m is lower. For example, in the case of a single
  1860.    parameter contained within the options part, two octets are required
  1861.    for the parameter code and the parameter length indicators. Thus, the
  1862.    value of m is limited to:
  1863.  
  1864.        m = 252-(length of fixed part +length of address part
  1865.        +length of segmentation part   )
  1866.  
  1867.    For each succeeding parameter the maximum value of m decreases.  The
  1868.    parameter value field contains the value of the parameter identified
  1869.    in the parameter code field.
  1870.  
  1871.    The following parameters are permitted in the options part.
  1872.  
  1873. 8.5.2    Security
  1874.  
  1875.    The Security parameter conveys information about the security re-
  1876.    quested in the Data PDU that caused the containing RD PDU to be gen-
  1877.    erated.  This parameter has the same encoding and semantics as the
  1878.    Security parameter in ISO 8473.
  1879.  
  1880.        Parameter Code:        1100 0101
  1881.  
  1882.        Parameter Length:        variable
  1883.  
  1884.        Parameter Value:        See Section 7.5.3 of ISO 8473
  1885.  
  1886.  
  1887.  
  1888. ISO N4053                                                      [Page 32]
  1889.  
  1890. RFC 995                                                    December 1986
  1891.  
  1892.  
  1893. 8.5.3    Quality of Service Maintenance
  1894.  
  1895.    The Quality of Service parameter conveys information about the quali-
  1896.    ty of service requested in the Data PDU that caused the containing RD
  1897.    PDU to be generated.
  1898.  
  1899.    This parameter has the same encoding and semantics as the QoS Mainte-
  1900.    nance parameter in ISO 8473.
  1901.  
  1902.       Parameter Code:        1100 0011
  1903.  
  1904.       Parameter Length:        variable
  1905.  
  1906.       Parameter Value:        See Section 7.5.6 of ISO 8473
  1907.  
  1908. 8.5.4    Priority
  1909.  
  1910.    The Priority parameter conveys information about the priority re-
  1911.    quested in the Data PDU that caused the containing RD PDU to be gen-
  1912.    erated.
  1913.  
  1914.    This parameter has the same encoding and semantics as the Priority
  1915.    parameter in ISO 8473.
  1916.  
  1917.       Parameter Code:        1100 1101
  1918.  
  1919.       Parameter Length:        one octet
  1920.  
  1921.       Parameter Value:        See Section 7.5.7 of ISO 8473
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928.  
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947. ISO N4053                                                      [Page 33]
  1948.  
  1949. RFC 995                                                    December 1986
  1950.  
  1951.  
  1952. 8.6   End System Hello (ESH) PDU
  1953.  
  1954. 8.6.1  Structure
  1955.  
  1956.    The ESH PDU has the following format:
  1957.  
  1958.                                                     Octet
  1959.        ____________________________________________
  1960.        |    Network Layer Protocol Identifier     |   1
  1961.        |__________________________________________|
  1962.        |             Length Indicator             |   2
  1963.        |__________________________________________|
  1964.        |       Version/Protocol Id Extension      |   3
  1965.        |__________________________________________|
  1966.        |         reserved (must be zero)          |   4
  1967.        |__________________________________________|
  1968.        |0 |0 |0 |              Type               |   5
  1969.        |__|__|__|_________________________________|
  1970.        |               Holding Time               |  6,7
  1971.        |__________________________________________|
  1972.        |                 Checksum                 |  8,9
  1973.        |__________________________________________|
  1974.        |    Source Address Length Indicator (SAL) |  10
  1975.        |__________________________________________|
  1976.        |                                          |  11
  1977.        :           Source Address (SA)            :
  1978.        |                                          | m - 1
  1979.        |__________________________________________|
  1980.        |                                          |   m
  1981.        :                  Options                 :
  1982.        |                                          | p - 1
  1983.        |__________________________________________|
  1984.  
  1985.                  Figure 9: ESH PDU Format
  1986.  
  1987.  
  1988.  
  1989.  
  1990.  
  1991.  
  1992.  
  1993.  
  1994.  
  1995.  
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006. ISO N4053                                                      [Page 34]
  2007.  
  2008. RFC 995                                                    December 1986
  2009.  
  2010.  
  2011. 8.7   Intermediate System Hello (ISH) PDU
  2012.  
  2013. 8.7.1  Structure
  2014.  
  2015.    The ISH PDU has the following format:
  2016.  
  2017.  
  2018.                                                    Octet
  2019.    _______________________________________________
  2020.    |        Network Layer Protocol Identifier    |   1
  2021.    |_____________________________________________|
  2022.    |                 Length Indicator            |   2
  2023.    |_____________________________________________|
  2024.    |          Version/Protocol Id Extension      |   3
  2025.    |_____________________________________________|
  2026.    |             reserved (must be zero)         |   4
  2027.    |_____________________________________________|
  2028.    |0 |0 |0 |                  Type              |   5
  2029.    |__|__|__|____________________________________|
  2030.    |                   Holding Time              |  6,7
  2031.    |_____________________________________________|
  2032.    |                     Checksum                |  8,9
  2033.    |_____________________________________________|
  2034.    |Network Entity Title Length Indicator (NETL) |  10
  2035.    |_____________________________________________|
  2036.    |                                             |  11
  2037.    :           Network Entity Title (NET)        :
  2038.    |                                             | m - 1
  2039.    |_____________________________________________|
  2040.    |                                             |  m
  2041.    :                      Options                :
  2042.    |                                             | p - 1
  2043.    |_____________________________________________|
  2044.  
  2045.               Figure 10: ISH PDU Format
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053.  
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.  
  2060.  
  2061.  
  2062.  
  2063.  
  2064.  
  2065. ISO N4053                                                      [Page 35]
  2066.  
  2067. RFC 995                                                    December 1986
  2068.  
  2069.  
  2070. 8.8   Redirect (RD) PDU
  2071.  
  2072. 8.8.1  Structure
  2073.  
  2074.    The RD PDU has the following format:
  2075.  
  2076.                                                     Octet
  2077.    ______________________________________________
  2078.    |         Network Layer Protocol Identifier   |    1
  2079.    |_____________________________________________|
  2080.    |                  Length Indicator           |    2
  2081.    |_____________________________________________|
  2082.    |           Version/Protocol Id Extension     |    3
  2083.    |_____________________________________________|
  2084.    |               reserved (must be zero)       |    4
  2085.    |_____________________________________________|
  2086.    |0 |0 |0 |                   Type             |    5
  2087.    |__|__|__|____________________________________|
  2088.    |                    Holding Time             |   6,7
  2089.    |_____________________________________________|
  2090.    |                      Checksum               |   8,9
  2091.    |_____________________________________________|
  2092.    |   Destination Address Length Indicator (DAL)|   10
  2093.    |_____________________________________________|
  2094.    |                                             |   11
  2095.    :              Destination Address (DA)       :
  2096.    |                                             | m - 1
  2097.    |_____________________________________________|
  2098.    |Subnetwork Address Length Indicator (BSNPAL) |   m
  2099.    |_____________________________________________|
  2100.    |                                             | m + 1
  2101.    :          Subnetwork Address (DBSNPA)        :
  2102.    |                                             | n - 1
  2103.    |_____________________________________________|
  2104.    |Network Entity Title Length Indicator (NETL) |   n
  2105.    |_____________________________________________|
  2106.    |                                             | n + 1
  2107.    :            Network Entity Title (NET)       :
  2108.    |                                             | p - 1
  2109.    |_____________________________________________|
  2110.    |                                             |   p
  2111.    :                        Options              :
  2112.    |                                             | q - 1
  2113.    |_____________________________________________|
  2114.  
  2115.    Figure 11: RD PDU Format when Redirect is to an IS
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122.  
  2123.  
  2124. ISO N4053                                                      [Page 36]
  2125.  
  2126. RFC 995                                                    December 1986
  2127.  
  2128.  
  2129.                                                     Octet
  2130.    ______________________________________________
  2131.    |         Network Layer Protocol Identifier   |    1
  2132.    |_____________________________________________|
  2133.    |                  Length Indicator           |    2
  2134.    |_____________________________________________|
  2135.    |           Version/Protocol Id Extension     |    3
  2136.    |_____________________________________________|
  2137.    |               reserved (must be zero)       |    4
  2138.    |_____________________________________________|
  2139.    |0 |0 |0 |                   Type             |    5
  2140.    |__|__|__|____________________________________|
  2141.    |                    Holding Time             |   6,7
  2142.    |_____________________________________________|
  2143.    |                      Checksum               |   8,9
  2144.    |_____________________________________________|
  2145.    |   Destination Address Length Indicator (DAL)|   10
  2146.    |_____________________________________________|
  2147.    |                                             |   11
  2148.    :              Destination Address (DA)       :
  2149.    |                                             | m - 1
  2150.    |_____________________________________________|
  2151.    |Subnetwork Address Length Indicator (BSNPAL) |   m
  2152.    |_____________________________________________|
  2153.    |                                             | m + 1
  2154.    :          Subnetwork Address (DBSNPA)        :
  2155.    |                                             | n - 1
  2156.    |_____________________________________________|
  2157.    |                   NETL = 0                  |   n
  2158.    |_____________________________________________|
  2159.    |                                             | n + 1
  2160.    :                   Options                   :
  2161.    |                                             | p - 1
  2162.    |_____________________________________________|
  2163.    |              Quality of Service             | n + 1
  2164.    |_____________________________________________|
  2165.  
  2166.    Figure 12: RD PDU Format when Redirect is to an ES
  2167.  
  2168.  
  2169. 9   Formal Description
  2170.  
  2171.    {Maybe next pass...}
  2172.  
  2173. 10    Conformance
  2174.  
  2175.    See Clause 6.2.
  2176.  
  2177.  
  2178.  
  2179.  
  2180.  
  2181.  
  2182.  
  2183. ISO N4053                                                      [Page 37]
  2184.  
  2185. RFC 995                                                    December 1986
  2186.  
  2187.  
  2188.                   ANNEX A.  SUPPORTING TECHNICAL MATERIAL
  2189.  
  2190.  
  2191. A.1   Use of Timers
  2192.  
  2193.    This protocol makes extensive use of timers to ensure the timeliness
  2194.    and accuracy of information disseminated using the Configuration and
  2195.    Route Redirection functions.This section discusses the rationale for
  2196.    using these timers and provides some background for how they operate.
  2197.  
  2198.    Systems using this protocol learn about other systems exclusively by
  2199.    receiving PDUs sent by those systems. In a connectionless environ-
  2200.    ment, a system must periodically receive updated information to en-
  2201.    sure that the information it previously received is still correct.
  2202.    For example, if a system on a subnetwork becomes unavailable (either
  2203.    it has ceased operating, or its SNPA becomes inoperative) the only
  2204.    way another system can detect this fact is by the absence of
  2205.    transmissions from that system. If information were retained in the
  2206.    absence of new PDUs being received, configuration and/or routing in-
  2207.    formation would inevitably become incorrect. The Holding Timers
  2208.    specified by this protocol guarantee that old information will not be
  2209.    retained indefinitely.
  2210.  
  2211.    A useful way of thinking of the configuration and route redirection
  2212.    information is as a cache maintained by each system. The cache is
  2213.    periodically flushed to ensure that only up-to-date information is
  2214.    stored.Unlike most caches, however, the time to retain information is
  2215.    not a purely local matter.  Rather, information is held for a period
  2216.    of time specified by the source of the information. Some examples
  2217.    will help clarify this operation.
  2218.  
  2219. A.1.1   Example of Holding Time for Route Redirection
  2220.  
  2221.    Route Redirection Information is obtained by an End System through
  2222.    the Request Redirect function (see clause 7.7).It is quite possible
  2223.    that a Intermediate System might redirect an End System to another IS
  2224.    which has recently become unavailable (this might happen if the IS-
  2225.    to-IS routing algorithm is still converging following a configuration
  2226.    change). If the Holding Timer were not present, or was set very long
  2227.    by the sending IS, an End System would have been redirected into a
  2228.    Black Hole from which none of its Data PDUs would ever emerge. The
  2229.    length of the Holding Timer on Redirects specifies, in essence, the
  2230.    length of time black holes are permitted to exist.
  2231.  
  2232.    On the other hand, setting the Holding Timer on Route Redirects very
  2233.    short to minimize the effect of black holes has other undesirable
  2234.    consequences.First, for each PDU that causes a redirect, an addition-
  2235.    al PDU beside the original Data PDU must be composed and transmitted;
  2236.    this increases overhead. Second, each time a "working" redirect's
  2237.    Holding Timer expires, the redirected End System will revert to a
  2238.    poorer route for at least one PDU.
  2239.  
  2240.  
  2241.  
  2242. ISO N4053                                                      [Page 38]
  2243.  
  2244. RFC 995                                                    December 1986
  2245.  
  2246.  
  2247. A.1.2   Example of Holding Timer for Configuration Information
  2248.  
  2249.    A similar type of problem can occur with respect to Configuration in-
  2250.    formation. If the Holding Time of a ISH PDU (see clause 7.2.2) is set
  2251.    very long, and the only Intermediate System (which has been sending
  2252.    this Configuration Information) on the subnetwork becomes unavail-
  2253.    able, a subnetwork-wide black hole can form. During this time, End
  2254.    Systems on the subnetwork may not be able to communicate with each
  2255.    other because they presume that a Intermediate System is operating
  2256.    which will forward their Data PDUs to destination ESs on the local
  2257.    subnetwork and return RD PDUs.Once the Holding Time expires, the ESs
  2258.    will realize that no IS is available and will take their only
  2259.    recourse, which is to send their traffic directly on the local sub-
  2260.    network.
  2261.  
  2262.    Given the types of problems that can occur, it is important that
  2263.    responsibility for incorrect information can be unambiguously as-
  2264.    signed to the source of the information. For this reason all Holding
  2265.    Timers are calculated by the source of the Configuration or Route
  2266.    Redirection information and communicated explicitly to each recipient
  2267.    in the appropriate PDU.
  2268.  
  2269. A.2   Refresh and timeout of Redirection information
  2270.  
  2271.    The protocol allows End Systems to refresh redirection information
  2272.    without first allowing the holding time to expire and being redirect-
  2273.    ed by a Intermediate System for a second (or subsequent) time. Such
  2274.    schemes are prevalent in connectionless subnetworks and are often
  2275.    called "reverse path information", "previous hop cache" or something
  2276.    similar.
  2277.  
  2278.    Refreshing the redirection information has obvious performance bene-
  2279.    fits, but can be dangerous if not handled in a very conservative
  2280.    fashion. In order for a redirection to be safely refreshed, all of
  2281.    the following conditions must hold:
  2282.  
  2283.      1. The source address of the received PDU must be exactly the same
  2284.         as the destination address specified in a prior RD PDU (this
  2285.         defines a "match" on the redirection information). Making
  2286.         assumptions about the equivalence of abbreviated addresses,
  2287.         group addresses, or similar "special" addresses is dangerous
  2288.         since routing for these addresses cannot be assumed to be
  2289.         the same.
  2290.  
  2291.      2. The Quality of Service parameters of the received PDU must be
  2292.         exactly the same as the QoS parameters specified in the matching
  2293.         (by destination address) redirection entry.Again, there is no
  2294.         guarantee that PDUs with different QoS parameters will be routed
  2295.         the same way. It is quite possible that the redirected path is
  2296.         even a black hole for certain values of the QoS parameters (the
  2297.         security field is a good example).
  2298.  
  2299.  
  2300.  
  2301. ISO N4053                                                      [Page 39]
  2302.  
  2303. RFC 995                                                    December 1986
  2304.  
  2305.  
  2306.      3. The "previous hop" of the received Data PDU must match the "next
  2307.         hop" stored in the redirection information. Specifically, the
  2308.         SN_Source_Address of the SN_UNITDATA.Indication which received the
  2309.         PDU must match exactly the SN_Destination_Address specified in the
  2310.         redirect to be used for sending traffic via the SN_UNITDATA.Request
  2311.         primitive. This comparison ensures that redirects are refreshed only
  2312.         when the reverse traffic is being received from the same IS (or
  2313.         destination ES) as the forward traffic is being sent through (or
  2314.         to). This check make certain that redirects are not refreshed for
  2315.         just on the basis of traffic being received from the destination.
  2316.         It is quite possible that the traffic is simply indicating that the
  2317.         forward path in use is not working!
  2318.  
  2319.    Note that these conditions still allow refresh in the most useful and
  2320.    common cases where either the destination is another ES on the same
  2321.    subnetwork as the source ES, or the redirection is to a IS which is
  2322.    passing traffic to/from the destination in both directions (i.e. the
  2323.    path is symmetric).
  2324.  
  2325. A.3   System Initialization Considerations
  2326.  
  2327.    This protocol is designed to make the exchange of information as free
  2328.    as possible from dependencies between the two types of systems.
  2329.    therefore, it is not possible for an End System to request all Inter-
  2330.    mediate Systems on a subnetwork to report their configuration, nor is
  2331.    it possible for an Intermediate System to request all End Systems on
  2332.    a subnetwork to report their configuration.
  2333.  
  2334.    In certain operating environments a constraint may be imposed than an
  2335.    ES, upon becoming operational, must discover the existence of an IS
  2336.    as soon as possible.The converse relationship also holds if it is
  2337.    necessary for an IS to discover the existence of End Systems as soon
  2338.    as possible. In both cases the availability of this information is
  2339.    normally determined by the Configuration Timer of the system for
  2340.    which the knowledge is desired. there is therefore a tradeoff between
  2341.    the overhead associated with performing the Report and Record Confi-
  2342.    guration functions and the timely availability of the configuration
  2343.    information. Decreasing the Configuration Timer increases the availa-
  2344.    bility at the expense of an increase in overhead.
  2345.  
  2346.    The following solution is recommended for addressing the constraint
  2347.    described above. When the Record Configuration function is invoked in
  2348.    either an End System or an Intermediate System, the function will
  2349.    determine if the received configuration information was previously
  2350.    unknown.If this is the case, then the Report Configuration function
  2351.    may be invoked before the expiration of the system's Configuration
  2352.    Timer. The Hello PDU generated by the Report Configuration function
  2353.    is then sent only to the Network Entity whose configuration was pre-
  2354.    viously unknown. Thus when an ES or IS first becomes operational it
  2355.    immediately reports its configuration. As soon as systems of the oth-
  2356.    er type discover the new network entity, they will make their own
  2357.  
  2358.  
  2359.  
  2360. ISO N4053                                                      [Page 40]
  2361.  
  2362. RFC 995                                                    December 1986
  2363.  
  2364.  
  2365.    configuration known to this entity.
  2366.  
  2367.    The additional overhead incurred by this solution is minimal. Also,
  2368.    since the discovery of new configurations is made timely by this ap-
  2369.    proach the Configuration Timer period can be increased in order to
  2370.    decrease the overhead of the configuration functions, provided that
  2371.    other factors not discussed here are accounted for by the longer time
  2372.    period.One caveat is that the first Hello PDU generated by a system
  2373.    may be lost during transmission. To solve this problem one or more
  2374.    additional PDUs may be transmitted at short time intervals during
  2375.    this initialization period.
  2376.  
  2377.    Note that this solution may be implemented in ISs only, in ESs only,
  2378.    or in both Intermediate and End Systems.This decision is purely a lo-
  2379.    cal matter and may be alterable through System Management.
  2380.  
  2381. A.4     Optimizations for Flushing Redirects
  2382.  
  2383.    An ES will attempt to forward NPDUs through an IS to which it has
  2384.    been redirected until the Holding Timer specified in the RD PDU has
  2385.    expired, even if that IS is no longer reachable.  Under certain cir-
  2386.    cumstances, it is possible to do better and recognize the existence
  2387.    of a black hole sooner. In particular, if the ES expects to hear ISH
  2388.    PDUs from the IS to which it has been redirected, and the Holding Ti-
  2389.    mer for that IS expires, all knowledge of the IS may be forgotten by
  2390.    the ES. This includes any redirects, which may be flushed (see the
  2391.    Flush Old Redirect function) even though their timeouts have not ex-
  2392.    pired.
  2393.  
  2394.  
  2395.  
  2396.  
  2397.  
  2398.  
  2399.  
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409.  
  2410.  
  2411.  
  2412.  
  2413.  
  2414.  
  2415.  
  2416.  
  2417.  
  2418.  
  2419. ISO N4053                                                      [Page 41]
  2420.  
  2421.